<?php

interface IDbMapper
{
	const KEY_PRIMARY = 'primary';
	const KEY_RPRIMARY = 'rprimary';
	const KEY_PRIMARY_ALIAS = 'alias';
	const KEY_TABLE = 'table';
	const KEY_RTABLE = 'rtable';
	const KEY_RELATION = 'relation';
	
	const KEY_IS_STRING = 'is_string';
	const KEY_IS_FIELD = 'is_field';
	
	const DB_TYPE_TEXT = 'text';
	const DB_TYPE_INT = 'int';
	const DB_TYPE_REAL = 'real';
	const DB_TYPE_BLOB = 'blob';
}
